package game.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import common.model.po.GLandform;
import common.model.request.base.PaginationRequest;
import common.model.response.base.Result;
import game.model.request.SaveLandformRequest;
import game.model.request.SearchLandformRequest;

/**
 * 地貌服务类
 *
 * @author 米泽鹏
 * @since 2022-02-26
 */
public interface GLandformService extends IService<GLandform> {

	/**
	 * 地貌分页查询
	 *
	 * @param paginationRequest PaginationRequest<SearchLandformRequest, GLandform>
	 * @return Page<GLandform>
	 */
	Page<GLandform> searchLandformByPage(PaginationRequest<SearchLandformRequest, GLandform> paginationRequest);

	/**
	 * 地貌新增或更新
	 *
	 * @param request SaveLandformRequest
	 * @return Result
	 */
	Result<?> saveLandform(SaveLandformRequest request);

}
